<template>
	<view class="box">
		<!-- <video class="void"  :src="listshis.file"></video> -->
		<view class="name">{{listshis.title}}</view>
		<view v-html="listshis.content"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				listshis:''
			}
		},
		onLoad(e) {
			this.id = e.from
			console.log(this.id, "穿的id")
			this.lvshis_ss()
		},
		methods: {
			
			lvshis_ss() {
				this.$http('addons.article_detail', {
					id: this.id,
				}).then(res => {
					console.log(res, "视频详情")
					if (res.code === 1) {
						this.listshis = res.data[0]
							uni.setNavigationBarTitle({
											title:this.listshis.title
							});
					}
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
	.box{
		padding: 30rpx;
		.void{
			width: 100%;
			height: 328rpx;
		}
		.name{
			margin-bottom: 30rpx;
			margin-left: 20rpx;
			margin-top: 40rpx;
			font-size: 28rpx;
			font-family: Microsoft YaHei-Bold, Microsoft YaHei;
			font-weight: bold;
			color: #333333;
		}
	}

</style>
